package com.ywl.designpattern.prototype;

public class Rectangle extends Shape{

    public Rectangle() {
        type = "Rectangle";
    }

    @Override
    public void draw() {
        System.out.println("Inside Rectangle::draw() method.");
    }
    @Override
    public Object clone() {
        return super.clone();
    }
}
